<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
	<head>
	    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <meta name="description" content="对网页的一段概括性描述"/>
        <meta name="keywords" content="关键字1,关键字2,关键字3..."/>
        <meta name="renderer" content="webkit">
        <title>迷你酥 - 修改企业信息</title>
        <link rel="shortcut icon" href="favicon.ico"/>
        <link rel="stylesheet" href="/hiring_git/static/talent/css/homepage.css">
		<link rel="stylesheet" href="<%=request.getContextPath() %>/static/comm/plugin/bootstrap/css/bootstrap.min.css">
	</head>
	<body>
	    <header class="global">
	    <div class="header">
				<a style="margin-top: 0" href="/hiring_git/TalentServlet?act=goHome" class="logo">
					<img src="/hiring_git/static/comm/image/logo.png" width="139" height="60">
				</a>
		</div>
	   </header>
		<center><h1>修改企业信息</h1></center>
		<hr>
		<div class="container">
			<c:if test="${! empty param.result}">
			<div class="alert alert-warning alert-dismissible fade in"
				role="alert">
				<button type="button" class="close" data-dismiss="alert">
					<span aria-hidden="true">×</span><span class="sr-only">Close</span>
				</button>
				<strong>修改失败!</strong>
			</div>
			</c:if>
			<form class="form-horizontal" role="form" action="<%=request.getContextPath() %>/CompanyServlet?command=update" method="post">
				<input type="hidden" name="id" value="${param.id }"/>
				<div class="form-group">
				    <label for="code" class="col-sm-2 control-label">帐    号：</label>
				    <div class="col-sm-10" style="width:700px">
				        <input type="text" class="form-control" id="code" name="code"
				               value="${resultSet.getString('code')}" placeholder="账号不能为空！">
				    </div>
				    <span id="codeInfo"></span>
				</div>
				<div class="form-group">
				    <label for="password" class="col-sm-2 control-label">密    码：</label>
				    <div class="col-sm-10" style="width:700px">
				        <input type="password" class="form-control" id="password" name="password"
				               value="${resultSet.getString('password')}" placeholder="密码必须为 4~12位！">
				    </div>
				    <span id="passwordInfo"></span>
				</div>
				<div class="form-group">
				    <label for="name" class="col-sm-2 control-label">名    称：</label>
				    <div class="col-sm-10" style="width:700px">
				        <input type="text" class="form-control" id="name" name="name" 
				               value="${resultSet.getString('name')}" placeholder="名称不能为空！">
				    </div>
				    <span id="nameInfo"></span>
				</div>
				<div class="form-group">
				    <label for="email" class="col-sm-2 control-label">邮    箱：</label>
				    <div class="col-sm-10" style="width:700px">
				        <input type="text" class="form-control" id="email" name="email"
				               value="${resultSet.getString('email')}" placeholder="邮箱不能为空！">
				    </div>
				    <span id="emailInfo"></span>
				</div>
				<div class="form-group">
				    <label for="phone" class="col-sm-2 control-label">电    话：</label>
				    <div class="col-sm-10" style="width:700px">
				        <input type="text" class="form-control" id="phone" name="phone"
				               value="${resultSet.getString('phone')}" placeholder="电话不能为空！">
				    </div>
				    <span id="phoneInfo"></span>
				</div>
				<div class="form-group">
				    <label for="linkman" class="col-sm-2 control-label">联 系 人：</label>
				    <div class="col-sm-10" style="width:700px">
				        <input type="text" class="form-control" id="linkman" name="linkman"
				               value="${resultSet.getString('linkman')}" placeholder="联系人不能为空！">
				    </div>
				    <span id="linkmanInfo"></span>
				</div>
				<div class="form-group">
				    <label for="address" class="col-sm-2 control-label">地     址：</label>
				    <div class="col-sm-10" style="width:700px">
				        <input type="text" class="form-control" id="address" name="address"
				               value="${resultSet.getString('address')}" placeholder="地址不能为空！">
				    </div>
				    <span id="addressInfo"></span>
				</div>
				<div class="form-group">
				    <label for="numbers" class="col-sm-2 control-label">企业人数：</label>
				    <div class="col-sm-10" style="width:700px">
				        <input type="text" class="form-control" id="numbers" name="numbers"
				               value="${resultSet.getString('numbers')}"placeholder="口号不能为空！">
				    </div>
				    <span id="numbersInfo"></span>
				</div>
				<div class="form-group">
				    <label for="slogan" class="col-sm-2 control-label">口     号：</label>
				    <div class="col-sm-10" style="width:700px">
				        <input type="text" class="form-control" id="slogan" name="slogan"
				               value="${resultSet.getString('slogan')}"placeholder="口号不能为空！">
				    </div>
				    <span id="sloganInfo"></span>
				</div>
				<div class="form-group">
					<div class="col-sm-offset-2 col-sm-10">
						<button type="submit" class="btn btn-primary">确认修改</button>
						<button type="button" class="btn btn-default" onclick="history.back();">返 回</button>
					</div>
				</div>
			</form>
		</div>
		<script src="<%=request.getContextPath() %>/static/comm/plugin/jquery.min.js"></script>
		<script src="<%=request.getContextPath() %>/static/comm/plugin/bootstrap/js/bootstrap.min.js"></script>
		<script src="<%=request.getContextPath()%>/static/talent/js/talent-register.js"></script>
	</body>
</html>